Skip to content

Allow preserving BLOCK entity layers during denormalisation#152

Open
gusals00 wants to merge 1 commit into
skymakerolof:developfrom
gusals00:feat/denormalise-preserve-block-layers
Open

Allow preserving BLOCK entity layers during denormalisation#152
gusals00 wants to merge 1 commit into
skymakerolof:developfrom
gusals00:feat/denormalise-preserve-block-layers

Conversation

@gusals00

@gusals00 gusals00 commented Jun 7, 2026

Copy link
Copy Markdown

Existing behavior always assigns inserted BLOCK entities to the INSERT layer.

This works well for flattened rendering workflows, but it removes explicit layer information from entities defined inside BLOCK contents.

This PR adds an optional 'preserveBlockEntityLayers' flag that preserves BLOCK entity layers while keeping the current behavior as the default.

When enabled:

  • Explicit BLOCK entity layers are preserved.
  • Layer 0 still inherits the effective INSERT layer.
  • No existing behavior changes unless the option is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant